package com.uni.crawl.job;

import com.xxl.job.core.biz.model.ReturnT;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public abstract class AbstractJob {

    public abstract ReturnT<String> handle();

    protected ReturnT<String> success() {
        return ReturnT.SUCCESS;
    }

    protected ReturnT<String> fail() {
        return ReturnT.FAIL;
    }

}
